// src/api/category.js
// import httpInstance  from "@/utils/http";
import { httpInstance }  from "@/utils/http";


// 封装获取category数据的接口
export const getCategoryAPI = (id) => {
  return httpInstance({
    url: '/category',
    params: {
      id
    }
  })
}


